package com.wangyadong.hobby.schedule.jobtask.tree.pq;

/**
 * <p>
 *
 * @author <714037465@qq.com>
 * @since 2018/8/2812:53
 **/
public interface PriorityQueue<K, V> {


    int size();

    boolean isEmpty();

    Entry<K, V> insert(K k, V v) throws IllegalArgumentException;

    Entry<K, V> min();

    Entry<K, V> removeMin();


}
